#include<iostream>
#include<string.h>

using std::cout;
using std::cin;
using std::endl;

class Computer
{
public:
    Computer(const char*msg,float price)
    {
        strcpy(_brand,msg);
        _price=price;
    }
    void print()
    {
        cout<<"("<<_brand
            <<","<<_price
            <<")"<<endl;
    }
private:
    char _brand[20];
    float _price;
};

int main()
{
    Computer pc("xiaomi15",4499);
    pc.print();
}

